package com.deer.wms.base.system.service.calendar.calendar;

import com.deer.wms.base.system.dao.calendar.ErpRoomMapper;
import com.deer.wms.base.system.model.calendar.ErpRoom;
import com.deer.wms.base.system.service.calendar.ErpRoomService;
import com.deer.wms.base.system.service.impl.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author
 * @date 2019-05-16 16:14:13
 */
@Service
public class ErpRoomServiceImpl extends BaseServiceImpl<ErpRoom, Object>
        implements ErpRoomService {

    @Autowired
    private ErpRoomMapper erproomMapper;

    @Autowired
    public void setMapper() {
        super.setMapper(erproomMapper);
    }


    @Override
    public List<ErpRoom> selectAll(){
        return erproomMapper.selectAll();
    }
}
